package com.onlineexam.mapper;


import com.onlineexam.bean.ZhuGuan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ZhuGuanMapper {
    //填空题列表
    @Select("SELECT b.*,zhuguan_id as 'zhuguanId',createdby as 'createdBy',create_time as 'createTime' from zhuguan b order by create_time desc;")
    List<ZhuGuan> list();

}
